import { defineStore } from "pinia";

export const useUserStore = defineStore("useUserStore", {
  state: () => {
    return {
      isCollapse: false, //控制菜单展开收起
    };
  },
  getters: {},
  actions: {
    collapseChange() {
      this.isCollapse = !this.isCollapse;
    },
  },
});
